package com.retail.order.enums;

/**
 * @author administrator
 * @Description 系统类型枚举
 * @date 2022 - 10 - 13 22:32:45
 */
public enum ExamineVerifyEnums {
    
    /**
     * 菜单类型为菜单
     */
    DAI_SHEN_HE(0, "待审核"),
    SHEN_HE_TONGGUO(1, "审核通过"),
    SHEN_HE_BUTONGGUO(2, "审核不通过")
    ;

    private Integer value;

    private String label;

    ExamineVerifyEnums(Integer value, String label) {
        this.value = value;
        this.label = label;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public static String getStatusValues(Integer value) {
        ExamineVerifyEnums[] enums = ExamineVerifyEnums.values();
        for (ExamineVerifyEnums e1 : enums) {
            if (e1.getValue().equals(value)) {
                return e1.getLabel();
            }
        }
        return "";
    }
}
